package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialGoodsTypeMiddle;
import com.hzf.material.dao.model.MaterialGoodsTypeMiddleExample;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface MaterialGoodsTypeMiddleMapper {
    long countByExample(MaterialGoodsTypeMiddleExample example);

    int deleteByExample(MaterialGoodsTypeMiddleExample example);

    int deleteByPrimaryKey(Integer middleId);

    int insert(MaterialGoodsTypeMiddle record);

    int insertSelective(MaterialGoodsTypeMiddle record);

    List<MaterialGoodsTypeMiddle> selectByExample(MaterialGoodsTypeMiddleExample example);

    MaterialGoodsTypeMiddle selectByPrimaryKey(Integer middleId);

    int updateByExampleSelective(@Param("record") MaterialGoodsTypeMiddle record, @Param("example") MaterialGoodsTypeMiddleExample example);

    int updateByExample(@Param("record") MaterialGoodsTypeMiddle record, @Param("example") MaterialGoodsTypeMiddleExample example);

    int updateByPrimaryKeySelective(MaterialGoodsTypeMiddle record);

    int updateByPrimaryKey(MaterialGoodsTypeMiddle record);
}